home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 9 / The PC-SIG Library on CD ROM - Ninth Edition.iso / 301_400 / DISK0374 / DISK0374.ZIP / BANNER2.LBR / BANREF.TXT < prev    next >
Text File  |  1985-03-02  |  3KB  |  62 lines

  1.                       *Banner* COLOR COMMANDS
  2.  
  3.     To change colors while a *Banner* is scrolling, you type a caret (^)
  4. then two hex digits as described below.  To enter a caret character into a
  5. *Banner*, type in two carets (^^)!  In BASIC you would say COLOR 1,0 to make
  6. blue on black, in *Banner* you would type ^01 somewhere in a line. 
  7.  
  8.              C O L O R S:      Form:  ^BF : B=BACKGROUND, F=FOREGROUND.
  9.            0    BLACK    8
  10.            1    BLUE     9     Both F and B can be any number from 0-F.
  11.            2    GREEN    A
  12.            3    CYAN     B     Values over 7 in BACKGROUND will create
  13.            4     RED     C     flashing.
  14.            5   MAGENTA   D
  15.            6    BROWN    E     Values over 7 in FOREGROUND make an
  16.            7    WHITE    F     intensified version of the first 0-7.
  17.  
  18.                             *BANNER* DOT COMMANDS.
  19.  
  20.          The way you change from full-screen mode to scrolling mode or pause
  21. the display is with *BANNER* dot commands. This means that a dot is the FIRST
  22. character on the line. *BANNER* text cannot be mixed with dot commands, but
  23. you can enter several dot commands on one line.
  24.  
  25. o  .B  = *BANNER* mode. Screen is cleared, one line message will scroll to the
  26.          left.
  27.  
  28. o  .W  =  Window mode. Message is written on full-screen. Only 30 characters
  29.           fill the screen. Messages less than 30 are padded with blanks, if
  30.           your line is over 30 letters, it will be chopped off.  Color short-
  31.           hand (^BF) commands do not add to this count, in fact, every letter
  32.           could be specified a different color combination.
  33.  
  34. o    .WU =  Thirty characters scrolled UP the screen.
  35.  
  36. o    .WD =  Window is scrolled DOWN the screen.
  37.  
  38. o    .WR =  Window is written across the screen to the right.
  39.  
  40. o  .P xxx =  Pause xxx after a line.  .p 2000 will pause a second. This is a
  41.              single-precision value and can be most any number.
  42.  
  43. o  .M  xx  "<string>" =  Write a message in regular text on screen at line xx
  44.              (9-25). If message is less than 80 letters, center it.
  45.  
  46. o  .C ^BF =  Used to specify the color for the message in .M above.
  47.  
  48. o  .D xxx =  Change the dots used to make up *BANNER* sized letters. Starts
  49.              out CHR$(2). Can be anything from 1-254.
  50.  
  51. o  .L xx  =  Change the starting line for the *BANNER* scroll to the left
  52.              routine. Starts out (line) 11. Can be 9-19.  The scrolling
  53.              *BANNER* can not be put at the top of the screen.
  54.  
  55. o  .N ^BF =  Change the screen attribute in the current *BANNER* window
  56.              without clearing the screen.
  57.  
  58. o  .S xxx =  Send xxx (1-254) spaces to *BANNER*. Clear out a line.
  59.  
  60. o  .X "<string>" Music with the BASICA PLAY command.  <String> is sent directly
  61.          to PLAY.
  62.